package com.peppa.petshop.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 张三
 * @since 2021-06-02
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    public class Address implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "address_id", type = IdType.AUTO)
      private Integer addressId;
  @TableLogic
  private Integer deleted;
    private Integer customer;

    private String addressName;

      /**
     * 是否是默认地址（1:是 0否）
     */
      private Integer isdefault;

    private String username;

    private String phone;

      @TableField(fill = FieldFill.INSERT)
      private LocalDateTime createTime;

      @TableField(fill = FieldFill.INSERT_UPDATE)
      private LocalDateTime updateTime;


}
